<?php
class Route_Contact
{
    /**
     * Build friendly URL
     * @param array $linkArr 0 => <module>, 1 => controller, 2 => action
     * @param array $params param => value
     * 
     * @return string friendly URL
     */
    public function build($linkArr, $params = array()) 
    {
    	return 'contact-us.html';
    }
    /**
     * Parse friendly URL
     */
    public function parse()
    {
         $router = Nine_Controller_Front::getInstance()->getRouter();
         $route  = new Zend_Controller_Router_Route_Regex(
                                                 'contact-us.html',
                                                 array(
                                                    'module'     => 'contact',
                                                    'controller' => 'index',
                                                    'action'     => 'index'
                                                 ),
                                                 array()
                                            );
         $router->addRoute('contact', $route);   
    }
}